package com.ktjy.ktmall.service.impl;

import com.ktjy.ktmall.dao.BannerItemDao;
import com.ktjy.ktmall.dao.impl.BannerItemDaoImpl;
import com.ktjy.ktmall.entity.BannerItem;
import com.ktjy.ktmall.service.BannerItemService;

import java.util.List;

/**
 * service接口实现类
 * @version v1.0
 * @Author 郴州科泰
 * @Create 2024-07-17 - 17:09
 */
public class BannerItemServiceImpl implements BannerItemService {
    BannerItemDao dao = new BannerItemDaoImpl();

    @Override
    public List<BannerItem> findByType(int type) {
        return dao.findByType(type);
    }
}
